<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<!--#include file="include/header.asp"-->
<!--#include file="include/DownPage.asp"-->
    <div id="content">
		<!--中间Start-->	
		<div id="centrepanel">
			<div id="panelbg"><a href="product.asp?pid=645"><img src="images/banners/banner-653x84-newdate.gif" border=0 class="banner"></a></div>
			<div id="panelbg"><h1>新闻</h1>
				  <form name="form1" id="form1" style="margin-bottom: 0;">
				  <%
					sql="select * from News order by SubDate desc,ID desc"
					Psize = 10
					Params=""
					Set MyPage=New XdownPage							'创建对象
					MyPage.GetConn=Conn									'得到数据库连接
					MyPage.GetSql=sql									'SQl查询语句
					MyPage.pagesize = Psize								'设置每一页的记录条数据为5条
					MyPage.GetParams=Params
					Set rs=MyPage.getrs()								'返回Recordset

					for i=1 to Psize
						if rs.eof then exit for
				  %>
					<div class="listresults" onclick="DoNav('newsDetail.asp?newsid=<%=rs("ID")%>');">
						<span class="listtitle"><a href="newsDetail.asp?newsid=<%=rs("ID")%>"><%=rs("title")%></a></span>
						<div class="listsubhead"><%=rs("summary")%></div>
						<div class="listsubheaddate"><%=rs("subDate")%></div>
					</div>
					<div class="dashedbottom" style="width:653px;"></div>
				  <%
				  		rs.movenext
					next
				  %>
					<%MyPage.showpage()%>
				  </form>
			</div>
			<!--#include file="include/bottomSide.asp"-->
			<br />
		</div>
		<!--中间End-->
		
		<!--左边Start-->	
		<!--#include file="include/leftSide.asp"-->
		<!--左边End-->	
		<!--右边Start-->	
		<!--#include file="include/rightSide.asp"-->		
		<!--右边End-->
	</div>
</div>
</body>
</html>
